// Point.h

#ifndef POINT_H
#define POINT_H

/**
* Holds an x and y point.
*/
class Point
{
public:
	/**
	* Constructor.
	*/
	Point();

	/**
	* Constructor.
	*
	* @param x the new x value.
	* @param y the new y value.
	*/
	Point( const int x, const int y );

	/**
	* Destructor.
	*/
	~Point();

	/**
	* Returns x.
	*
	* @return int the x value.
	*/
	int getX() const;

	/**
	* Sets x.
	*
	* @param x the new x value.
	*/
	void setX( const int x );

	/**
	* Returns y.
	*
	* @return int the y value.
	*/
	int getY() const;

	/**
	* Sets y.
	*
	* @param y the new y value
	*/
	void setY( const int y );

private:
	// x
	int x;

	// y
	int y;
};

#endif // POINT_H
